<?php

namespace App\Http\Controllers\Admin;

use App\Http\Response\ApiResponse;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Models\Admin;

class BaseController extends Controller
{

    // API接口响应
    use ApiResponse;

    public function getAdminInfo()
    {
        return json_decode(redis()->get('admin_info'), true);
    }

}
